package com.action.sanction;

import java.util.ArrayList;

import com.db.appline.AppLineManager;
import com.db.appline.VApprovalStateVO;
import com.db.mysandoc.MySandocManager;
import com.db.mysandoc.VRepContentVO;

public class EndDocContentAction {
	private String docno;

	ArrayList<VApprovalStateVO> list = new ArrayList<VApprovalStateVO>();
	
	VRepContentVO vo = new VRepContentVO();

	public ArrayList<VApprovalStateVO> getList() {
		return list;
	}

	public void setDocno(String docno) {
		this.docno = docno;
	}
	

	public String getDocno() {
		return docno;
	}

	
	public VRepContentVO getVo() {
		return vo;
	}

	public String execute() throws Exception {

		System.out.println("EndDocContentAction");

		list = (ArrayList<VApprovalStateVO>) AppLineManager.approvalState(docno);
		
		vo = MySandocManager.getMyReport(docno);
	//	System.out.println(vo);
		return "success";
	}
}
